import React, { Component } from 'react'
import { Result, Button } from 'antd'

export default class NotFound extends Component {
	render() {
		return (
			<Result
				status="404"
				title="404"
				subTitle="Sorry, the page you visited does not exist."
        extra={<Button type="primary" onClick={() => {
          this.props.history.push('/home')
        }}>回首页</Button>}
			/>
		)
	}
}
